﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chat.Client
{
    /// <summary>
    /// The base class for _all_ the chat commands, that are sent from the
    /// chat clients to the server.
    /// </summary>
    [Serializable]
    public abstract class ClientCmd : Command
    {
        /// <summary>
        /// Gets or sets the client nickname who initiated (sent) the command.
        /// </summary>
        public NickName Sender { get; protected set; }

        public ClientCmd(NickName sender)
        {
            Sender = sender;
        }
    }
}
